#include <signal.h>
#include <iostream>
#include <cstdlib>
#include <sys/types.h>
#include <unistd.h>
#include <string>


int main(int argc , char* argv[])
{
    if(argc != 3)
    {
        std::cout << "./mykill -signum -pid" << std::endl;
        return 1;
    }
    int signum = std::stoi(argv[1]+1);
    int pid = std::stoi(argv[2]);
    int ret = kill(pid , signum);
    return ret;
}